package config

import (
	"github.com/zeromicro/go-zero/rest"
	"github.com/zeromicro/go-zero/zrpc"
)

type Config struct {
	rest.RestConf
	AuthToken struct { // JWT 认证需要的密钥和过期时间配置
		AccessSecret string
		AccessExpire int64
	}
	//用户中心服务配置
	UserServer zrpc.RpcClientConf
	//商品模块服务配置
	GoodsServer zrpc.RpcClientConf
	//购物车模块服务配置
	CartServer zrpc.RpcClientConf
	//订单服务配置
	OrderServer zrpc.RpcClientConf
	//房源服务配置
	HouseServe zrpc.RpcClientConf
	//房源订单服务配置
	HouseOrderServer zrpc.RpcClientConf
}
